Further tweaks for comment-start-skip behavior
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 18 Mar 2014 06:06:33 +0000 (08:06 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 18 Mar 2014 06:06:33 +0000 (08:06 +0200)
commit9ff4357ae81aeefa11a44c64d3ac1b8d7eccd876
treedbf71a2f2aa09be3742298c2a44e0b066e933f0b
parent9f5cf9a65ffa1a164bafaebb411147b38eae867e
Further tweaks for comment-start-skip behavior

* lisp/newcomment.el (comment-normalize-vars): Only add escaping check
to `comment-start-skip' if not `comment-use-syntax'.
(comment-beginning): Use `narrow-to-region' instead of moving back
one character.
(http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
(comment-start-skip): Update the docstring.
lisp/ChangeLog
lisp/newcomment.el